a11y: Use gtk_tree_view_get_n_columns()
authorBenjamin Otte <otte@redhat.com>
Tue, 15 Nov 2011 15:45:48 +0000 (16:45 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 16 Nov 2011 03:39:25 +0000 (04:39 +0100)
commitbbf59c75d7107e84b6b9510a5e9e62467d419860
tree42dd7967fc76caa37f110fac94059fd48738ae3c
parent18181f5417986fee027da01c51f7057057f95646
a11y: Use gtk_tree_view_get_n_columns()

In fact, invent our own function get_n_columns() which actually only
counts the visible functions, because that's the only ones we care
about.

The places where it's not used yet will be changed in the coming
patches.
gtk/a11y/gtktreeviewaccessible.c